Skip to content

oauth2 authentication truststore and timeouts#1052

Merged
lhotari merged 3 commits intoapache:mainfrom
gulecroc:Feat/oauth2-truststore
Dec 1, 2025
Merged

oauth2 authentication truststore and timeouts#1052
lhotari merged 3 commits intoapache:mainfrom
gulecroc:Feat/oauth2-truststore

Conversation

@gulecroc
Copy link
Contributor

@gulecroc gulecroc commented Nov 4, 2025

✅ Contribution Checklist

Doc for apache/pulsar#24944

@lhotari lhotari merged commit 78efd1e into apache:main Dec 1, 2025
@izumo27
Copy link
Contributor

izumo27 commented Dec 3, 2025

Hi, @gulecroc
I’m working on some updates to the OAuth2 plugin, and I just noticed apache/pulsar#24944.
Since that PR adds clientCredentialsBuilder, maybe the code example needs an update too?

PulsarClient client = PulsarClient.builder()
.serviceUrl("pulsar://broker.example.com:6650/")
.authentication(
AuthenticationFactoryOAuth2.clientCredentials(issuerUrl, credentialsUrl, audience))
.build();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants